package com.yc.jpyy.investig.service;

import java.util.List;
import java.util.Map;
import org.springframework.dao.DataAccessException;
import com.yc.jpyy.base.util.PageBean;

public interface InvestigService {

	int addInvestigServer(Map<String, Object> companyInfo) throws DataAccessException;

	int updateInvestigServer(Map<String, Object> companyInfo) throws DataAccessException;

	int updateInvestig(Map<String, Object> companyInfo) throws DataAccessException;
	
	int delInvestigServer(Map<String, Object> InvestigInfo) throws DataAccessException;
	
	int delforUpdateInvestigServer(Map<String, Object> InvestigInfo) throws DataAccessException;

	Map<String, Object> findInvestigByIDServer(Map<String, Object> paramsMap) throws DataAccessException;
	
	//分页查询
    PageBean findInvestigServer(Map<String, Object> paramsMap)throws DataAccessException;
    //查询总数
    int findInvestigCountServer(Map<String, Object> paramsMap)throws DataAccessException;
    
    //台账报表
    PageBean findAccountReportInvestigServer(Map<String, Object> paramsMap)throws DataAccessException;
    
    //星期报表
    PageBean findWeeksReportInvestigServer(Map<String, Object> paramsMap)throws DataAccessException;
    
    List<Map<String, Object>> findPunishmentServer(Map<String, Object> paramsMap)throws DataAccessException;
    
    Map<String, Object> findDriverIDforInvestig(Map<String, Object> paramsMap)throws DataAccessException;
    
    int updateInvestigScoreToDriverAll(Map<String, Object> paramsMap)throws DataAccessException;

    Map<String, Object> getInvestigsByDriverId(Map<String, Object> paramsMap) throws DataAccessException;
	
    Map<String, Object> cancel(Map<String, Object> paramsMap) throws DataAccessException;
	
    Map<String, Object> updateInvesStatus(Map<String, Object> paramsMap) throws DataAccessException;

 /*   Map<String, Object> findInvestigByVariable(Map<String, Object> paramsMap) throws DataAccessException;*/

}